package com.ssy.lingxi.contract.repository;

import com.ssy.lingxi.contract.entity.ApplyAmountOrderRecordDO;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

/**
 * 请款单流转记录
 * @author 伍将
 * @date 2021/3/10
 * @version 2.0.0
 */
public interface ApplyAmountOrderRecordRepository extends JpaRepository<ApplyAmountOrderRecordDO, Long>, JpaSpecificationExecutor<ApplyAmountOrderRecordDO> {

    /**
     * 根据情况单id进行删除
     * @author 伍将
     * @date 2021/3/10
     * @param applyId: 情况单id
     * @return 无
     **/
    void deleteAllByApplyId(Long applyId);
}
